package com.steam.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserLimitExample {
    /**
     * Table: t_user_limit
    @mbggenerated 2017-03-20 12:03:07
     */
    protected String orderByClause;

    /**
     * Table: t_user_limit
    @mbggenerated 2017-03-20 12:03:07
     */
    protected boolean distinct;

    /**
     * Table: t_user_limit
    @mbggenerated 2017-03-20 12:03:07
     */
    protected List<Criteria> oredCriteria;

    public UserLimitExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * [STRATO MyBatis Generator]
     * Table: t_user_limit
    @mbggenerated 2017-03-20 12:03:07
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdIsNull() {
            addCriterion("login_type_id is null");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdIsNotNull() {
            addCriterion("login_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdEqualTo(Integer value) {
            addCriterion("login_type_id =", value, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdNotEqualTo(Integer value) {
            addCriterion("login_type_id <>", value, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdGreaterThan(Integer value) {
            addCriterion("login_type_id >", value, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("login_type_id >=", value, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdLessThan(Integer value) {
            addCriterion("login_type_id <", value, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("login_type_id <=", value, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdIn(List<Integer> values) {
            addCriterion("login_type_id in", values, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdNotIn(List<Integer> values) {
            addCriterion("login_type_id not in", values, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("login_type_id between", value1, value2, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("login_type_id not between", value1, value2, "loginTypeId");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNull() {
            addCriterion("enabled is null");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNotNull() {
            addCriterion("enabled is not null");
            return (Criteria) this;
        }

        public Criteria andEnabledEqualTo(Integer value) {
            addCriterion("enabled =", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotEqualTo(Integer value) {
            addCriterion("enabled <>", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThan(Integer value) {
            addCriterion("enabled >", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThanOrEqualTo(Integer value) {
            addCriterion("enabled >=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThan(Integer value) {
            addCriterion("enabled <", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThanOrEqualTo(Integer value) {
            addCriterion("enabled <=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledIn(List<Integer> values) {
            addCriterion("enabled in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotIn(List<Integer> values) {
            addCriterion("enabled not in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledBetween(Integer value1, Integer value2) {
            addCriterion("enabled between", value1, value2, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotBetween(Integer value1, Integer value2) {
            addCriterion("enabled not between", value1, value2, "enabled");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeIsNull() {
            addCriterion("stop_time is null");
            return (Criteria) this;
        }

        public Criteria andStopTimeIsNotNull() {
            addCriterion("stop_time is not null");
            return (Criteria) this;
        }

        public Criteria andStopTimeEqualTo(Date value) {
            addCriterion("stop_time =", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeNotEqualTo(Date value) {
            addCriterion("stop_time <>", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeGreaterThan(Date value) {
            addCriterion("stop_time >", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("stop_time >=", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeLessThan(Date value) {
            addCriterion("stop_time <", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeLessThanOrEqualTo(Date value) {
            addCriterion("stop_time <=", value, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeIn(List<Date> values) {
            addCriterion("stop_time in", values, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeNotIn(List<Date> values) {
            addCriterion("stop_time not in", values, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeBetween(Date value1, Date value2) {
            addCriterion("stop_time between", value1, value2, "stopTime");
            return (Criteria) this;
        }

        public Criteria andStopTimeNotBetween(Date value1, Date value2) {
            addCriterion("stop_time not between", value1, value2, "stopTime");
            return (Criteria) this;
        }

        public Criteria andAutoSendIsNull() {
            addCriterion("auto_send is null");
            return (Criteria) this;
        }

        public Criteria andAutoSendIsNotNull() {
            addCriterion("auto_send is not null");
            return (Criteria) this;
        }

        public Criteria andAutoSendEqualTo(Integer value) {
            addCriterion("auto_send =", value, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendNotEqualTo(Integer value) {
            addCriterion("auto_send <>", value, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendGreaterThan(Integer value) {
            addCriterion("auto_send >", value, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendGreaterThanOrEqualTo(Integer value) {
            addCriterion("auto_send >=", value, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendLessThan(Integer value) {
            addCriterion("auto_send <", value, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendLessThanOrEqualTo(Integer value) {
            addCriterion("auto_send <=", value, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendIn(List<Integer> values) {
            addCriterion("auto_send in", values, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendNotIn(List<Integer> values) {
            addCriterion("auto_send not in", values, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendBetween(Integer value1, Integer value2) {
            addCriterion("auto_send between", value1, value2, "autoSend");
            return (Criteria) this;
        }

        public Criteria andAutoSendNotBetween(Integer value1, Integer value2) {
            addCriterion("auto_send not between", value1, value2, "autoSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendIsNull() {
            addCriterion("repeat_send is null");
            return (Criteria) this;
        }

        public Criteria andRepeatSendIsNotNull() {
            addCriterion("repeat_send is not null");
            return (Criteria) this;
        }

        public Criteria andRepeatSendEqualTo(Integer value) {
            addCriterion("repeat_send =", value, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendNotEqualTo(Integer value) {
            addCriterion("repeat_send <>", value, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendGreaterThan(Integer value) {
            addCriterion("repeat_send >", value, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendGreaterThanOrEqualTo(Integer value) {
            addCriterion("repeat_send >=", value, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendLessThan(Integer value) {
            addCriterion("repeat_send <", value, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendLessThanOrEqualTo(Integer value) {
            addCriterion("repeat_send <=", value, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendIn(List<Integer> values) {
            addCriterion("repeat_send in", values, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendNotIn(List<Integer> values) {
            addCriterion("repeat_send not in", values, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendBetween(Integer value1, Integer value2) {
            addCriterion("repeat_send between", value1, value2, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andRepeatSendNotBetween(Integer value1, Integer value2) {
            addCriterion("repeat_send not between", value1, value2, "repeatSend");
            return (Criteria) this;
        }

        public Criteria andAllSearchIsNull() {
            addCriterion("all_search is null");
            return (Criteria) this;
        }

        public Criteria andAllSearchIsNotNull() {
            addCriterion("all_search is not null");
            return (Criteria) this;
        }

        public Criteria andAllSearchEqualTo(Integer value) {
            addCriterion("all_search =", value, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchNotEqualTo(Integer value) {
            addCriterion("all_search <>", value, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchGreaterThan(Integer value) {
            addCriterion("all_search >", value, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_search >=", value, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchLessThan(Integer value) {
            addCriterion("all_search <", value, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchLessThanOrEqualTo(Integer value) {
            addCriterion("all_search <=", value, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchIn(List<Integer> values) {
            addCriterion("all_search in", values, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchNotIn(List<Integer> values) {
            addCriterion("all_search not in", values, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchBetween(Integer value1, Integer value2) {
            addCriterion("all_search between", value1, value2, "allSearch");
            return (Criteria) this;
        }

        public Criteria andAllSearchNotBetween(Integer value1, Integer value2) {
            addCriterion("all_search not between", value1, value2, "allSearch");
            return (Criteria) this;
        }

        public Criteria andIsLocationIsNull() {
            addCriterion("is_location is null");
            return (Criteria) this;
        }

        public Criteria andIsLocationIsNotNull() {
            addCriterion("is_location is not null");
            return (Criteria) this;
        }

        public Criteria andIsLocationEqualTo(Integer value) {
            addCriterion("is_location =", value, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationNotEqualTo(Integer value) {
            addCriterion("is_location <>", value, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationGreaterThan(Integer value) {
            addCriterion("is_location >", value, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_location >=", value, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationLessThan(Integer value) {
            addCriterion("is_location <", value, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationLessThanOrEqualTo(Integer value) {
            addCriterion("is_location <=", value, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationIn(List<Integer> values) {
            addCriterion("is_location in", values, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationNotIn(List<Integer> values) {
            addCriterion("is_location not in", values, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationBetween(Integer value1, Integer value2) {
            addCriterion("is_location between", value1, value2, "isLocation");
            return (Criteria) this;
        }

        public Criteria andIsLocationNotBetween(Integer value1, Integer value2) {
            addCriterion("is_location not between", value1, value2, "isLocation");
            return (Criteria) this;
        }

        public Criteria andHidePhoneIsNull() {
            addCriterion("hide_phone is null");
            return (Criteria) this;
        }

        public Criteria andHidePhoneIsNotNull() {
            addCriterion("hide_phone is not null");
            return (Criteria) this;
        }

        public Criteria andHidePhoneEqualTo(Integer value) {
            addCriterion("hide_phone =", value, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneNotEqualTo(Integer value) {
            addCriterion("hide_phone <>", value, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneGreaterThan(Integer value) {
            addCriterion("hide_phone >", value, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneGreaterThanOrEqualTo(Integer value) {
            addCriterion("hide_phone >=", value, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneLessThan(Integer value) {
            addCriterion("hide_phone <", value, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneLessThanOrEqualTo(Integer value) {
            addCriterion("hide_phone <=", value, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneIn(List<Integer> values) {
            addCriterion("hide_phone in", values, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneNotIn(List<Integer> values) {
            addCriterion("hide_phone not in", values, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneBetween(Integer value1, Integer value2) {
            addCriterion("hide_phone between", value1, value2, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andHidePhoneNotBetween(Integer value1, Integer value2) {
            addCriterion("hide_phone not between", value1, value2, "hidePhone");
            return (Criteria) this;
        }

        public Criteria andIsRunIsNull() {
            addCriterion("is_run is null");
            return (Criteria) this;
        }

        public Criteria andIsRunIsNotNull() {
            addCriterion("is_run is not null");
            return (Criteria) this;
        }

        public Criteria andIsRunEqualTo(Integer value) {
            addCriterion("is_run =", value, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunNotEqualTo(Integer value) {
            addCriterion("is_run <>", value, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunGreaterThan(Integer value) {
            addCriterion("is_run >", value, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_run >=", value, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunLessThan(Integer value) {
            addCriterion("is_run <", value, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunLessThanOrEqualTo(Integer value) {
            addCriterion("is_run <=", value, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunIn(List<Integer> values) {
            addCriterion("is_run in", values, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunNotIn(List<Integer> values) {
            addCriterion("is_run not in", values, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunBetween(Integer value1, Integer value2) {
            addCriterion("is_run between", value1, value2, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsRunNotBetween(Integer value1, Integer value2) {
            addCriterion("is_run not between", value1, value2, "isRun");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNull() {
            addCriterion("is_send is null");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNotNull() {
            addCriterion("is_send is not null");
            return (Criteria) this;
        }

        public Criteria andIsSendEqualTo(Integer value) {
            addCriterion("is_send =", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotEqualTo(Integer value) {
            addCriterion("is_send <>", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThan(Integer value) {
            addCriterion("is_send >", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_send >=", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendLessThan(Integer value) {
            addCriterion("is_send <", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendLessThanOrEqualTo(Integer value) {
            addCriterion("is_send <=", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendIn(List<Integer> values) {
            addCriterion("is_send in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotIn(List<Integer> values) {
            addCriterion("is_send not in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendBetween(Integer value1, Integer value2) {
            addCriterion("is_send between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotBetween(Integer value1, Integer value2) {
            addCriterion("is_send not between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andCancelIsNull() {
            addCriterion("cancel is null");
            return (Criteria) this;
        }

        public Criteria andCancelIsNotNull() {
            addCriterion("cancel is not null");
            return (Criteria) this;
        }

        public Criteria andCancelEqualTo(String value) {
            addCriterion("cancel =", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotEqualTo(String value) {
            addCriterion("cancel <>", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelGreaterThan(String value) {
            addCriterion("cancel >", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelGreaterThanOrEqualTo(String value) {
            addCriterion("cancel >=", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelLessThan(String value) {
            addCriterion("cancel <", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelLessThanOrEqualTo(String value) {
            addCriterion("cancel <=", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelLike(String value) {
            addCriterion("cancel like", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotLike(String value) {
            addCriterion("cancel not like", value, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelIn(List<String> values) {
            addCriterion("cancel in", values, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotIn(List<String> values) {
            addCriterion("cancel not in", values, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelBetween(String value1, String value2) {
            addCriterion("cancel between", value1, value2, "cancel");
            return (Criteria) this;
        }

        public Criteria andCancelNotBetween(String value1, String value2) {
            addCriterion("cancel not between", value1, value2, "cancel");
            return (Criteria) this;
        }
    }

    /**
     * This class corresponds to the database table t_user_limit
    @mbggenerated do_not_delete_during_merge 2017-03-20 12:03:07
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * [STRATO MyBatis Generator]
     * Table: t_user_limit
    @mbggenerated 2017-03-20 12:03:07
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}